package com.hat3deals.GASG.client;

import com.google.gwt.gadgets.client.Gadget;
import com.google.gwt.gadgets.client.Gadget.AllowHtmlQuirksMode;
import com.google.gwt.gadgets.client.Gadget.ModulePrefs;
import com.google.gwt.gadgets.client.Gadget.UseLongManifestName;
import com.google.gwt.gadgets.client.UserPreferences;
import com.google.gwt.user.client.ui.HTML;
import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.RootPanel;
import com.hat3deals.GASG.client.bundle.MyClientBundle;

@ModulePrefs(title = "Gov Auction Search", author = "Jim Hathaway", author_email = "hathaway3@gmail.com")
@UseLongManifestName(false)
@AllowHtmlQuirksMode(false)
public class GovAuctionSearchGadget extends Gadget<UserPreferences> {

	@Override
	protected void init(UserPreferences preferences) {
		// TODO Auto-generated method stub
		Label title = new Label("Use the Gov serarch below");
		String h = MyClientBundle.INSTANCE.customSearch().getText();
		RootPanel.get().add(title);
		RootPanel.get().add(new HTML(h));

	}

}